package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


//import com.rbyair.services.member.model.MemberOrderAftersalesStatus;
/**
 * 退款接口返回状态
 * @author wliu
 * edit tse
 */
public class MemberOrderAftersalesStatusResponse extends RudderResponse{
    
    private List<MemberOrderAftersalesStatus> aftersalesStatus = new ArrayList<MemberOrderAftersalesStatus>();
		
	
    /**
     * @return aftersalesStatus
     */	
    public List<MemberOrderAftersalesStatus> getAftersalesStatus() { 
	    return this.aftersalesStatus;
    };
	
	/**
     * @return aftersalesStatus
     */	
    public void setAftersalesStatus(List<MemberOrderAftersalesStatus> aftersalesStatus) { 
        this.aftersalesStatus = aftersalesStatus;
    };
    
	
        
    private static void filterFor(MemberOrderAftersalesStatus member) {
        if (member.getStatus() == null) {
            member.setStatus("");
        }
        if (member.getAddTime() == null) {
            member.setAddTime("");
        }
        if (member.getUpdateTime() == null) {
            member.setUpdateTime("");
        }
    }
        
    public static void filter(MemberOrderAftersalesStatusResponse member) {
        if (member.getAftersalesStatus() == null) {
            member.setAftersalesStatus(new ArrayList<MemberOrderAftersalesStatus>());
        } else {
            for (MemberOrderAftersalesStatus item : member.getAftersalesStatus()) {
                filterFor(item);
            }
        }
    }
}
